package com.feilx.changggou.order.service.impl;

import com.changgou.bean.PageVo;
import com.changgou.bean.Query;
import com.changgou.bean.QueryCondition;
import com.changgou.pojo.order.TbReturnOrderEntity;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.feilx.changggou.order.dao.TbReturnOrderDao;
import com.feilx.changggou.order.service.TbReturnOrderService;


@Service("tbReturnOrderService")
public class TbReturnOrderServiceImpl extends ServiceImpl<TbReturnOrderDao, TbReturnOrderEntity> implements TbReturnOrderService {

    @Override
    public PageVo queryPage(QueryCondition params) {
        IPage<TbReturnOrderEntity> page = this.page(
                new Query<TbReturnOrderEntity>().getPage(params),
                new QueryWrapper<TbReturnOrderEntity>()
        );

        return new PageVo(page);
    }

}
